<?php
/**
* @package 
* @subpackage 
*
* @copyright 
* @license 
*/
 
// No direct access to this file
defined('_JEXEC') or die;
 
// import Joomla view library
jimport('joomla.application.component.view');
 
/**
* HTML View class for the HelloWorld Component
*
* @since 0.0.1
*/
class WelliVermittlungViewMain extends JViewLegacy
{
        /**
         * Display the Hello World view
         *
         * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
         *
         * @return  void
         */
        public function display($tpl = null) 
        {
				/*
                // Assign data to the view
                $this->msg = 'Hello World via WelliVermittlungViewMain.display hard coded';
 
                // Display the view
                parent::display($tpl);
				*/
                
				
				// Assign data to the view
                $this->msg = $this->get('Msg');
 
                // Check for errors.
                if (count($errors = $this->get('Errors'))) 
                {
                        JLog::add(implode('<br />', $errors), JLog::WARNING, 'jerror');
                        return false;
                }
                // Display the view
                parent::display($tpl);
				
				
		}
}

?>

